package com.drive.service;

import com.drive.bean.Subject;
import com.drive.entity.PageResult;

import java.util.List;

/**
 * @author 往
 * 科目管理接口
 */
public interface SubjectService {
    void add(Subject subject,Integer[] coachIds);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    Subject findById(Integer id);

    List<Integer> findSubjectAndCoachIds(Integer id);

    void update(Subject subject, Integer[] coachIds);

    void deleteById(Integer id);

    List<Subject> findAll();

}
